package com.ruoyi.cms.service;

import java.util.List;
import com.ruoyi.cms.domain.SysCmsMaterial;

/**
 * 媒体素材Service接口
 * 
 * @author he
 * @date 2025-06-24
 */
public interface ISysCmsMaterialService 
{
    /**
     * 查询媒体素材
     * 
     * @param id 媒体素材主键
     * @return 媒体素材
     */
    public SysCmsMaterial selectSysCmsMaterialById(Long id);

    public SysCmsMaterial selectSysCmsMaterialByMaterialMark(SysCmsMaterial sysCmsMaterial);

    /**
     * 查询媒体素材列表
     * 
     * @param sysCmsMaterial 媒体素材
     * @return 媒体素材集合
     */
    public List<SysCmsMaterial> selectSysCmsMaterialList(SysCmsMaterial sysCmsMaterial);

    /**
     * 新增媒体素材
     * 
     * @param sysCmsMaterial 媒体素材
     * @return 结果
     */
    public int insertSysCmsMaterial(SysCmsMaterial sysCmsMaterial);

    /**
     * 修改媒体素材
     * 
     * @param sysCmsMaterial 媒体素材
     * @return 结果
     */
    public int updateSysCmsMaterial(SysCmsMaterial sysCmsMaterial);

    /**
     * 批量删除媒体素材
     * 
     * @param ids 需要删除的媒体素材主键集合
     * @return 结果
     */
    public int deleteSysCmsMaterialByIds(Long[] ids);

    /**
     * 删除媒体素材信息
     * 
     * @param id 媒体素材主键
     * @return 结果
     */
    public int deleteSysCmsMaterialById(Long id);
}
